package com.javagroup.chessonline.callback;

import com.javagroup.chessonline.client.Client;
import com.javagroup.chessonline.pojo.ChessOnlineRoom;

public class StartGameCallback extends ClientCallback {

	private ChessOnlineRoom mRoom;
	
	public StartGameCallback(Client client, ChessOnlineRoom room) {
		super(client);
		
		this.mRoom = room;
	}
	
	@Override
	public void perform() {
		mMainScreen.startGame(mRoom);
	}

}
